class LoadingUI extends egret.gui.SkinnableComponent{

    public constructor(){
        super();
        this.skinName = scene.LoadingUiSkin;
    }
    /**
     * 进度条
     */
    public __loadBar:egret.gui.ProgressBar;
    public setProgress(current:number, total:number):void {
        if(this.__loadBar)
        {
            this.__loadBar.maximum = total;
            this.__loadBar.value = current;
        }
    }
}